package org.example.im.common.util;

import lombok.experimental.UtilityClass;
import cn.hutool.core.util.*;

import java.util.UUID;

/**
 * @author dingrui
 * @since 2022/2/11
 * @description
 */
@UtilityClass
public class UUIDUtil {

    public String randomUid(){
        return UUID.randomUUID().toString().split(StrUtil.DASHED)[0];
    }
}
